/**
 * 
 */
package org.arpit.masteringextjs.dao;

import java.util.List;

import org.arpit.masteringextjs.domain.User;


/**
 * @author Arpit.Rathore
 *
 */
public interface UserDAO {
	public User findByUsername(String userName);

	public User create(User user);

	public User findById(Long id);

	public List<User> findAll();
	
	public void delete(Long id);

	User update(User user);
}
